<?php
/**
 * created by zzy
 * date: 2017/10/24 9:40
 */
namespace App\Api\Service\Routes;

use Dingo\Api\Routing\Router;

class SearchRoute
{
    public function map(Router $router)
    {
        $router->group(['namespace' => 'Search\Controllers', 'prefix'=>'search'], function ($router) {

            $router->any('index', 'IndexController@index');


        });
    }
}